/* 2014/8/17 */
package com.cosmos.quartz.test.job;

import java.util.Date;

import org.apache.log4j.Logger;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

public class PrintTimeJob implements Job {

	private static final Logger LOGGER = Logger.getLogger(PrintTimeJob.class.getSimpleName());
	
	@Override
	public void execute(JobExecutionContext context) throws JobExecutionException {
		Date now = new Date();
		LOGGER.info(now.toString());
	}

}
